package com.catering.mapper;

import com.catering.domain.Order;
import com.catering.project.domain.OrderData;

import java.util.List;

/**
* @author 86175
* @description 针对表【order(菜单表)】的数据库操作Mapper
* @createDate 2024-10-18 11:00:34
* @Entity com.catering.domain.Order
*/
public interface OrderMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);


//    int insertOrder(Integer userId, int tableId, Integer dishId, Integer dishNum);

    //查找order新添加的字段 copy
    List<Order> getAddOrder(Integer num);
}
